package cn.ytnet.shangyun.service.basic.service;

import cn.ytnet.shangyun.service.basic.entity.ProvinceEntity;

import java.util.List;

/**
 * Created by cyongk on 2015/12/8.
 */
public interface ProvinceService {

    //单个保存
    public void saveProvince(ProvinceEntity provinceEntity);

    //查询全部
    public List<ProvinceEntity> findAllProvince();

    //查询单个
    public ProvinceEntity getProvince(String id);

    //按关键字查询
    public List<ProvinceEntity> getStringProvince(String id);

    //单个更新
    public void updateProvince(String id,ProvinceEntity provinceEntity);

    //单个删除
    public boolean deleteProvince(String id);
}
